package _04mybatis.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@AllArgsConstructor
@Data


public class User {
    private Integer id;
    private String username;
    private String password;
    private String nickname;
    private Date created;

    public User(Integer id, String username, String password, String nickname, Date created) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.nickname = nickname;
        this.created = created;
    }
}
